package com.clkj.xiuzheng.pojo.shangcheng;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
* 
* @TableName t_xz_address
*/
@ApiModel( value ="t_xz_address" )
@Table( name ="t_xz_address" )
public class Address implements Serializable {

    /**
     * 用户地址管理 id
     */
    @Id
    @Column(name = "address_id",updatable = false)
    @ApiModelProperty( value="用户地址管理 id")
    private Integer addressId;

    /**
     * 用户id
     */
    @Column(name = "user_id" )
    @ApiModelProperty( value="用户id")
    private Integer userId;

    /**
     * 用户地址
     */
    @Column(name = "address_detail" )
    @ApiModelProperty( value="用户地址")
    private String addressDetail;

    /**
     * 默认地址1 否则0
     */
    @Column(name = "address_flag" )
    @ApiModelProperty( value="默认地址1 否则0")
    private Integer addressFlag;

    /**
     * 电话
     */
    @Column(name = "address_name" )
    @ApiModelProperty( value="电话")
    private String addressName;

    /**
     * 电话
     */
    @Column(name = "address_tel" )
    @ApiModelProperty( value="电话")
    private String addressTel;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getAddressFlag() {
        return addressFlag;
    }

    public void setAddressFlag(Integer addressFlag) {
        this.addressFlag = addressFlag;
    }

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    public String getAddressTel() {
        return addressTel;
    }

    public void setAddressTel(String addressTel) {
        this.addressTel = addressTel;
    }
}
